#ifndef PAGE_H
#define PAGE_H

#include <QWidget>
#include "widget.h"

namespace Ui {
class Page;
}

class Page : public QWidget
{
    Q_OBJECT

public:
    explicit Page(QWidget *parent = nullptr);
    ~Page();

private slots:
    void on_srcBtn_clicked();

    void on_destBtn_clicked();

    void on_pBtnBackup_clicked();

    void on_pBtnSync_clicked();

private:
    Ui::Page *ui;
    void populateTreeWidgetWithDirs(QTreeWidget *treeWidget, QTreeWidgetItem *parentItem, const QString &path);
};

#endif // PAGE_H
